package com.ruoyi.project.kkad.whiteip.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 白名单IP对象 white_ip
 * 
 * @author shixiangwen
 * @date 2020-04-13
 */
public class WhiteIp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** IP */
    @Excel(name = "IP")
    private String ip;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 创建用户 */
    @Excel(name = "创建用户")
    private String createdUserId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setCreatedUserId(String createdUserId) 
    {
        this.createdUserId = createdUserId;
    }

    public String getCreatedUserId() 
    {
        return createdUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ip", getIp())
            .append("createdTime", getCreatedTime())
            .append("createdUserId", getCreatedUserId())
            .toString();
    }
}
